package cn.v2tila.rsosa.student.service;

import cn.v2tila.rsosa.student.entity.ZpxxEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author v2tila on 14:25 2019/3/15
 */
@Service
public interface ZpxxService {
    ZpxxEntity saveAndFlush(ZpxxEntity zpxxEntity);
    List<ZpxxEntity> findByStudentName(String studentName);
    ZpxxEntity findById(Integer id);
    Page<ZpxxEntity> findByCollegeName(String collegeName,int page);

    Page<ZpxxEntity> searchZpxx(int page, String college, String searchVal);

}
